﻿using System;
using System.Collections.Generic;
using System.Linq;
using SaaS.Model.Dto.Gateways;
using XCore.Logger;
using XCore.Dapper;
using SaaS.Core;
using SaaS.Model.Entity.Gateways;

namespace Web.System.Services.Gateways
{
    public class BasicsAppService : SystemApplicationServiceBase
    {
        public BasicsAppService()
        {

        }
        public bool Sort(int id, short value)
        {
            return Repository.Update<Basics, short>(id, c => c.Sort, value);
        }
    }
}
